package com.story.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * @author Administrator
 * @decription
 * @Date 2018-05-03 8:54
 */
@TableName(value = "vedio_age")
public class VedioAge extends Model<VedioAge> {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private Integer vedioId;

    private Integer ageType;

    public VedioAge() {
    }

    public VedioAge(Integer id, Integer vedioId, Integer ageType) {
        this.id = id;
        this.vedioId = vedioId;
        this.ageType = ageType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVedioId() {
        return vedioId;
    }

    public void setVedioId(Integer vedioId) {
        this.vedioId = vedioId;
    }

    public Integer getAgeType() {
        return ageType;
    }

    public void setAgeType(Integer ageType) {
        this.ageType = ageType;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "VedioAge{" +
                "id=" + id +
                ", vedioId=" + vedioId +
                ", ageType=" + ageType +
                '}';
    }
}
